<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Vue</title>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>
<body>

<div id="app_b_1">
    <p>input 元素：</p>
    <input v-model="message" placeholder="输入编辑..."/>
    <p>input输入的值： {{message}}</p>

    <p>textarea 元素：</p>
    <textarea v-model="message1" placeholder="多行文本输入..."></textarea>
    <p style="white-space: pre">textarea输入的值：{{message1}}</p>
</div>

<script>
    let v = new Vue({
        el: '#app_b_1',
        data: {
            message: '',
            message1: ''
        }
    });
</script>

</body>
</html>